﻿using Base.Infrastructure.Dto.Request.option;
using Base.Infrastructure.Dto.Response;
using Base.Infrastructure.Tools.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Base.Service.Interface
{
    [Provider]
    public interface IUserExamService
    {
        /// <summary>
        /// 获取个人所有考试
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="key"></param>
        /// <returns></returns>
        ApiResult Querytest(string UEUID);

        /// <summary>
        /// 获取个人未完成的考试
        /// </summary>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <param name="key"></param>
        /// <returns></returns>
        ApiResult Unfinishedexams(string UEUID);

        /// <summary>
        /// 根据考试id获取考试题目
        /// </summary>
        /// <returns></returns>
        ApiResult GetExamQuestions(string UEID);

        /// <summary>
        /// 交卷
        /// </summary>
        /// <returns></returns>
        ApiResult Submit(OcontentRequestDto dto);
    }
}
